package org.mch.start;

import java.util.HashMap;
import java.util.Map;

import org.mch.biz.ui.BizPanel;

public class MCHCache {

	private static final Map<String, BizPanel> funcPanel = new HashMap<String, BizPanel>();

	public static BizPanel getFuncPanel(String className) {
		return (BizPanel) funcPanel.get(className);
	}

	public static void setFuncPanel(BizPanel panel) {
		funcPanel.put(panel.getClass().getName(), panel);
	}

}
